package com.itheima.mapper;

import com.itheima.pojo.EmpExpr;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmpExprMapper {

    void deleteExpr(Integer[] empIds);

    void insertBatch(List<com.itheima.pojo.EmpExpr> exprList);

    @Select("select * from emp_expr where emp_id=#{empId}")
    List<EmpExpr> getExprInfo(Integer id);
}
